<?php
include_once dirname(__FILE__)."/../lang/error.php";
include_once dirname(__FILE__)."/../io/rows.php";
include_once dirname(__FILE__)."/../io/db.php";
class mocomment extends rows{
 	function init(){
 		$this->tableName="sn_mocomment";
 		$this->col["mocid"]   = new column("mocid",dataCheck::INTEGER);
 		$this->col["moccontent"] = new column("moccontent",dataCheck::STRING|dataCheck::NOTNULL);
 		$this->col["moctime"]  = new column("moctime",dataCheck::INTEGER|dataCheck::NOTNULL);
 		$this->col["mocsendip"]  = new column("mocsendip",dataCheck::STRING|dataCheck::NOTNULL);
 		$this->col["mocartid"]  = new column("mocartid",dataCheck::INTEGER|dataCheck::NOTNULL);
 		$this->col["mocuid"]  = new column("mocuid",dataCheck::INTEGER|dataCheck::NOTNULL);
 		$this->col["mocstate"]  = new column("mocstate",dataCheck::INTEGER);
 	} 	 	
 }
